import { MenuTypeEnum } from "src/common/enums/menu.enum";

//菜单视图对象
export class MenuVO {

    //菜单ID
    id: number;

    //父菜单ID
    parentId: number;

    //菜单名称
    name: string;

    //菜单类型
    type: MenuTypeEnum;

    //路由路径
    path: string;

    //组件路径
    component: string;

    //菜单排序(数字越小排名越靠前)
    sort: number;

    //菜单是否可见(1:显示;0:隐藏)
    visible: number;

    //ICON
    icon: string;

    //跳转路径
    redirect: string;

    //按钮权限标识
    perm: string;

    //子菜单

    children: MenuVO[];

}
